package com.mentaleye.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mentaleye.dal.dao.LoanTypeDao;
import com.mentaleye.dal.model.LoanType;
import com.mentaleye.dal.model.LoanTypeExample;
import com.mentaleye.service.LoanTypeService;

@Service
public class LoanTypeServiceImpl implements LoanTypeService {

	@Autowired private LoanTypeDao dataDao;
	
	@Override
	public List<LoanType> getList() {
		LoanTypeExample example=new LoanTypeExample();
		return this.dataDao.getListByExample(example);
	}

}
